/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package apus.persistence;

import apus.entity.User;
import java.util.List;

/**
 *
 * @author 21vek
 */
public interface UserDAO extends AbstractDAO<User> {
    void changePassword(String login, String newPassword);
    int checkAuthorisation(String login, String password);
    boolean isActionAllowed(User user, String action);
    String getSubscriberName(User user);
    List<User> findAllPersonal ();
    User findByLogin(String login);
}
